package com.mvc.service.Impl;

import com.mvc.bean.Student;
import com.mvc.dao.Impl.StudentDaoImpl;
import com.mvc.dao.StudentDao;
import com.mvc.service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {
    private StudentDao studentDao = new StudentDaoImpl();

    @Override
    public List<Student> findAll() {
        return studentDao.findAll();
    }
}
